package services

import play.api.libs.json.{JsValue, Json}


case class TableResJson(code: Long = 0, msg: String = "", count: Long = 10, data: Seq[String])

case class OutStockPostParameters(page: Int = 0, limit: Int = 10, sdate: String = "2000-03-04 ~ 2000-03-11", status: Int = 0, p1: String = "", p2: String = "")

case class LayUIRobotTalk(id: Option[Long] = None, name: Option[String] = None, access: Option[String] = None, secret: Option[String] = None, note: Option[String] = None, status: Option[String] = None, page: Int = 1, limit: Int = 10)

case class LayUiRobotMsg(id: Long, talk: String, title: String, msg: String, runtime: String, lostTime: String, sendStatus: String, page: Int = 1, limit: Int = 10)

object TableResJson {
  implicit val tableResJson = Json.format[TableResJson]

}